#!/bin/bash
content=$1
content="
**企业微信告警通知**
$content

"
webHookUrl="https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=167b725d-6e0a-4441-baa2-ca321bff45bb"
content='{"msgtype": "text","text": {"content": "'$content'","mentioned_list":"@all"},}'
curl --data-ascii "$content" $webHookUrl
